home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v7n16.arc / MAKEBAS.DOC < prev    next >
Text File  |  1988-09-13  |  2KB  |  36 lines

  1. MAKEBAS
  2. COMMAND
  3.  
  4. Salvatore P. Ricciardi 
  5. 1988 No. 16 (Utilities)
  6.  
  7.  
  8. Purpose: Converts binary files into an ASCII text format contained within a
  9. BASIC program that will recreate the original binary code when run.  Used to
  10. transmit executable programs, spreadsheets, charts etc. over communications
  11. services that do not permit sending binary files.
  12.     
  13. Format:    MAKEBAS [d:][path]filename[.com]
  14.     
  15. Remarks: Entered with the filename of a binary file (preceded by its drive
  16. [d:] and path if other than current), MAKEBAS produces a ready-to-run BASIC
  17. program that is stored in the same drive and directory as the source file. 
  18. The data statements in the created .BAS file represent a hex image of the
  19. bytes that constitute the source file's original binary (machine) code. 
  20. Source files of up to approximately 12,000 bytes can be converted while
  21. staying within the usual 64K .BAS file limit.
  22.  
  23.     By default, MAKEBAS presumes the source file has a .COM extension, but
  24. other extensions (.WK1 for example) can be preserved by entering them as part
  25. of the filename.
  26.  
  27.     Files created with MAKEBAS can be reconverted to their original form
  28. by being run under IBM BASICA, GWBASIC, Quick BASIC, Turbo Basic, or any BASIC
  29. interpreter or compiler compatible with Microsoft BASIC.  Note that up to 15
  30. ASCII nulls may be added at the end of the restored binary file, but these
  31. will not affect its operation.  
  32.     
  33.     In addition to converting executable code into a form that can be
  34. sent, for example, over MCI Mail, MAKEBAS.COM is the program used at PC
  35. Magazine to produce the BASIC listings of its utilities programs.
  36.